<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">

<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>webpages - Grado Dos</title><link rel="stylesheet" type="text/css" href="../../styles/main.css"><script language=JavaScript src="../../javascript/main.js"></script><script language=JavaScript src="../../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad()"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>

<!--  Generated by Natural Docs, version Development Release 12-07-2007 (1.35 base) -->
<!--  http://www.naturaldocs.org  -->

<!-- saved from url=(0026)http://www.naturaldocs.org -->




<div id=Content><div class="CSection"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="webpages"></a>webpages</h1><div class=CBody><p>Este fichero contiene la declaración de la clase WebPage, que será la que contenga la estructura básica de las páginas HTML.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#webpages" >webpages</a></td><td class=SDescription>Este fichero contiene la declaración de la clase WebPage, que será la que contenga la estructura básica de las páginas HTML.</td></tr><tr class="SClass"><td class=SEntry><a href="#WebPages" >WebPages</a></td><td class=SDescription>Se trata de la clase que permite la definición de diversas páginas HTML y la correlación con JavaScript</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#WebPages.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#WebPages.WebPages" >WebPages</a></td><td class=SDescription>El constructor requerirá el div que la contendrá, la clase que la gestiona y la dirección del HTML asociado. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#WebPages.callEvents" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">callEvents</a></td><td class=SDescription>Esta función llama al evento elegido.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="WebPages"></a>WebPages</h2><div class=CBody><p>Se trata de la clase que permite la definición de diversas páginas HTML y la correlación con JavaScript</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SGroup"><td class=SEntry><a href="#WebPages.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#WebPages.WebPages" >WebPages</a></td><td class=SDescription>El constructor requerirá el div que la contendrá, la clase que la gestiona y la dirección del HTML asociado. </td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#WebPages.callEvents" id=link2 onMouseOver="ShowTip(event, 'tt1', 'link2')" onMouseOut="HideTip('tt1')">callEvents</a></td><td class=SDescription>Esta función llama al evento elegido.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="WebPages.Functions"></a>Functions</h3></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="WebPages.WebPages"></a>WebPages</h3><div class=CBody><p>El constructor requerirá el div que la contendrá, la clase que la gestiona y la dirección del HTML asociado.&nbsp; Cabe tener en cuenta que el div que la contenga será formateado cuando la página se borre.&nbsp; Así pues, el div no debe contener NADA, sólo la página en un futuro.</p><h4 class=CHeading>Parámetros</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>div_cont:</td><td class=CDLDescription>Div que contendrá la Página.</td></tr><tr><td class=CDLEntry>handler:</td><td class=CDLDescription>La clase que controla su comportamiento</td></tr><tr><td class=CDLEntry>html_src:</td><td class=CDLDescription>Dirección del archivo HTML.</td></tr></table><h4 class=CHeading>Devuelve</h4><p>Nada</p><h4 class=CHeading>Ejemplos</h4><blockquote><pre>var wp = new WebPage(document.getElementById(&quot;my_div&quot;), new MyClassHandler, &quot;home.html&quot;</pre></blockquote><h4 class=CHeading>Ver</h4><p>&lt;</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="WebPages.callEvents"></a>callEvents</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>callEvents: function(</td><td class=PParameter nowrap>event</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Esta función llama al evento elegido.</p><h4 class=CHeading>Parámetros</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>event:</td><td class=CDLDescription>Evento a llamar.</td></tr></table><h4 class=CHeading>Devuelve</h4><p>Nada.</p></div></div></div>

</div><!--Content-->


<div id=Footer>Documentación Generada en&nbsp; &middot;&nbsp; 12/17/2009&nbsp; &middot;&nbsp; <a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->


<div id=Menu><div class=MTitle>Grado Dos<div class=MSubTitle>Desarrolladores Web</div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent8')">Librerías JavaScript</a><div class=MGroupContent id=MGroupContent8><div class=MEntry><div class=MFile><a href="../main-js.html">main</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent4')">Controladores</a><div class=MGroupContent id=MGroupContent4><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Formularios</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="form/form-js.html">form</a></div></div><div class=MEntry><div class=MFile><a href="form/row-js.html">row</a></div></div><div class=MEntry><div class=MFile><a href="form/field-js.html">field</a></div></div><div class=MEntry><div class=MFile><a href="form/cell-js.html">cell</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Gráficos</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="graphic/xobject-js.html">xobject</a></div></div><div class=MEntry><div class=MFile><a href="graphic/fifo-js.html">fifo</a></div></div><div class=MEntry><div class=MFile><a href="graphic/messagebox-js.html">messagebox</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Servidor</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MFile><a href="server/ajax-js.html">ajax</a></div></div></div></div></div><div class=MEntry><div class=MFile id=MSelected>webpages</div></div><div class=MEntry><div class=MFile><a href="etc-js.html">etc</a></div></div><div class=MEntry><div class=MFile><a href="events-js.html">events</a></div></div><div class=MEntry><div class=MFile><a href="timer-js.html">timer</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent5')">Webpages</a><div class=MGroupContent id=MGroupContent5><div class=MEntry><div class=MFile><a href="../webpages/blog-js.html">blog</a></div></div><div class=MEntry><div class=MFile><a href="../webpages/contacto-js.html">contacto</a></div></div><div class=MEntry><div class=MFile><a href="../webpages/home-js.html">home</a></div></div><div class=MEntry><div class=MFile><a href="../webpages/portafolio-js.html">portafolio</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent7')">Externas</a><div class=MGroupContent id=MGroupContent7><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent6')">JQuery</a><div class=MGroupContent id=MGroupContent6><div class=MEntry><div class=MText>Esta librería no tiene una documentación compatible con Natural Docs para más información consulte</div></div><div class=MEntry><div class=MLink><a href="http://jquery.com/">JQuery</a></div></div></div></div></div></div></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent9')">Index</a><div class=MGroupContent id=MGroupContent9><div class=MEntry><div class=MIndex><a href="../../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Constants.html">Constants</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Variables.html">Variables</a></div></div></div></div></div><script type="text/javascript"><!--
var searchPanel = new SearchPanel("searchPanel", "HTML", "../../search");
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option  id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Constants">Constants</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div><script language=JavaScript><!--
HideAllBut([4, 8, 1, 2, 3], 10);// --></script></div><!--Menu-->



<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>callEvents: function(</td><td class=PParameter nowrap>event</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Esta función llama al evento elegido.</div></div><!--END_ND_TOOLTIPS-->




<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>


<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>